4//
// Created by Nasa on 2024/7/7.
//

#include <iostream>
#include <cmath>

using namespace std;

int main()
{
    int n = 2 * 2 * 2 * 2 * 5 * 5 * 11 * 17 * 37;
    n = 2 * 2 * 2;
//    cin>>n;
    for (int i = 2; i <= sqrt(n); ++i)
    {
        while (n % i == 0)
        {
            cout << i << ' ';
            n /= i;
        }
    }
    if (n > 1)
    {
        cout << n;
    }
    return 0;
}